//
//  GameScene.h
//  p1
//
//  Created by yoona park on 13. 9. 29..
//
//

#ifndef __p1__GameScene__
#define __p1__GameScene__

#include <iostream>
#include "cocos2d.h"
#include "CommonScene.h"

class GameScene : public cocos2d::CCLayer
{
public:
    // Method 'init' in cocos2d-x returns bool, instead of 'id' in cocos2d-iphone (an object pointer)
    virtual bool init();
    
    // there's no 'id' in cpp, so we recommend to return the class instance pointer
    static cocos2d::CCScene* scene();
    
    // a selector callback
    void menuCallback(CCObject* pSender);
    void resultDiece();
    
    cocos2d::CCSprite *dieceImg_1;
    cocos2d::CCSprite *dieceImg_2;

    
    // preprocessor macro for "static create()" constructor ( node() deprecated )
    CREATE_FUNC(GameScene);
};

#endif // __HELLOWORLD_SCENE_H__
